#define CONSTANT_0_05_1_2 94

#define MODEL_VIEW_PROJECTION 0
#define MATERIAL_DIFFUSE_OPACITY 4
#define MATERIAL_SPECULAR_POWER 5
#define MATERIAL_EMISSIVE_OPACITY 6
#define MODEL_SPACE_CAMERA_POS_OOFOG_RANGE 7
#define MODEL_MATRIX 8
#define WORLD_SPACE_CAMERA_POS_OOFOG_RANGE 12
#define MORPH_WEIGHT_MW_1MINUSMW_0_ISFOGOPAQUE 13

#define PS_MATERIAL_EMISSIVE_OPACITY 6
#define cPS_MATERIAL_EMISSIVE_OPACITY c6

#define PS_REFLECTION_COLOR_REFLECTIVITY 7
#define cPS_REFLECTION_COLOR_REFLECTIVITY c7

// For Sprites
#define VIEWPORT_DIMENSION 20
#define TIME_ELAPSED 21


// For Point/Directional/Shadow/Vertex Lighting
#define VL_MAX_LIGHTS_DIR 1
#define VL_REGISTER_SHIFT_DIR 3
#define VL_MAX_LIGHTS_POINT 2
#define VL_REGISTER_SHIFT_POINT 5

#define VL_AMBIENT_COLOR_1 20

#define VL_MODEL_SPACE_LIGHT_DIR_SHADOWLENGTH 21
#define VL_DLIGHT_DIFFUSE_1 22
#define VL_DLIGHT_SPECULAR_1 23

#define VL_MODEL_SPACE_LIGHT_POS 24
#define VL_PLIGHT_DIFFUSE_1 25
#define VL_PLIGHT_SPECULAR_1 26
#define VL_PLIGHT_OORANGE_RANGE_SHADOWLENGTH_INTENSITY 27
#define VL_ATTENUATION_C_L_Q_TABLEMUL 28

// For Water
// #define WATER_WAVE_SHIFT_XYZW 8

#define inUV r9
#define inPos r10
#define inNormal r11
